package com.gxa.mapper;

import com.gxa.pojo.Goods_Save;
import com.gxa.pojo.Outin;
import com.gxa.pojo.Receipt_Outin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface OutListMapper {
    Goods_Save queryGoodsNumber(@Param("goods_id") Object goods_id, @Param("warehouse_id") Object warehouse_id);

    int saveOutList(List<Outin> lis);

    int saveReceiptOutin(Receipt_Outin receipt_outin);

    List<Map> queryOutinInfo(@Param("currentPage") Integer newCurrentPage, @Param("pageSize") Integer pageSize,@Param("map") Map map, @Param("status") Integer status);

    int delOutList(@Param("receipt_outin_id") String receipt_outin_id, @Param("status") Integer delStatus);

    int saveOutList2(List<Outin> list);

    int saveReceiptOutin2(Receipt_Outin receipt_outin);

    List<Map> queryWarehouseReceipt(@Param("currentPage") Integer newCurrentPage, @Param("pageSize") Integer pageSize,@Param("map") Map map, @Param("status") Integer status);
}
